import request from '@/utils/request';

/**
 * 阿森斯失眠量表评估详情
 */
export function getAis(params) {
  return request({
    url: 'admin/treatment/AIS/AISEvaluateDetail',
    method: 'get',
    params
  })
};

/**
 * 保存阿森斯失眠量表评定
 */
export function setAis(data) {
  return request({
    url: 'admin/treatment/AIS/AISEvaluate',
    method: 'post',
    data
  })
};